package com.linkgie.galaxyframework.httpproxy;

/**
 * 用于描述调用请求发生的 http 状态码 400 以上的错误；
 * 
 * @author haiq
 *
 */
public class HttpStatusException extends HttpRequestException {
	
	private static final long serialVersionUID = 2660733392812058213L;

	
	public HttpStatusException(int stautsCode, String statusMessage, String errorMessage) {
		super(stautsCode, statusMessage, errorMessage);
	}

	/**
	 * http 状态码；
	 * @return
	 */
	@Deprecated
	public int getHttpCode() {
		return this.getStatusCode();
	}

}
